package org.caw.hbase;

import java.util.Map;
import java.util.Map.Entry;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;

public class HBaseConfigurationBean {

	private Configuration conf;

	public HBaseConfigurationBean(Map<String, String> conf) {

		this.conf = HBaseConfiguration.create();

		for (Entry<String, String> entry : conf.entrySet()) {
			this.conf.set(entry.getKey(), entry.getValue());
		}

	}

	public Configuration getConf() {
		return conf;
	}

	public void setConf(Configuration conf) {
		this.conf = conf;
	}
}
